package com.example.webservice.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author 彭长云
 * @Description:
 * @date 2019/1/8 10:25
 */
public class WebServiceResult<T> implements Serializable{
    //返回数据
    private List<T> addlist;
    private List<T> updatelist;
    //状态
    private String status;
    //消息
    private String msg;
    //分页参数:当前页
    private Integer pageIndex;
    //分页参数:每页数量
    private Integer pageSize;
    //查询到的数据总条数
    private Integer totalCount;


    public List<T> getAddlist() {
        return addlist;
    }

    public void setAddlist(List<T> addlist) {
        this.addlist = addlist;
    }

    public List<T> getUpdatelist() {
        return updatelist;
    }

    public void setUpdatelist(List<T> updatelist) {
        this.updatelist = updatelist;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }
}
